package cn.util;

import java.util.List;

public class PageBean {
	private Integer sumCount;    // 总记录数
	private Integer pageNow;     // 当前页数
	private Integer sumPage;     // 总页数
	private Integer pageSize;    //每页多少
	
	public static final int default_pageSiz = 16;    //默认每页显示条数
	private List<Object> pageItems = null;
	/**
	 * @return the sumCount
	 */
	public Integer getSumCount() {
		return sumCount;
	}
	/**
	 * @param sumCount the sumCount to set
	 */
	public void setSumCount(Integer sumCount) {
		this.sumCount = sumCount;
	}
	/**
	 * @return the pageNow
	 */
	public Integer getPageNow() {
		return pageNow;
	}
	/**
	 * @param pageNow the pageNow to set
	 */
	public void setPageNow(Integer pageNow) {
		this.pageNow = pageNow;
	}
	/**
	 * @return the sumPage
	 */
	public Integer getSumPage() {
		return sumPage;
	}
	/**
	 * @param sumPage the sumPage to set
	 */
	public void setSumPage(Integer sumPage) {
		this.sumPage = sumPage;
	}
	/**
	 * @return the pageItems
	 */
	public List<Object> getPageItems() {
		return pageItems;
	}
	/**
	 * @param pageItems
	 *            the pageItems to set
	 */
	public void setPageItems(List<Object> pageItems) {
		this.pageItems = pageItems;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getPageSize() {
		return pageSize;
	}
}
